package configration;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@ComponentScan("com.itheima")
@Import({JdbcConfig.class,TransactionManager.class})
@PropertySource("jdbcConfig.properties")
@EnableTransactionManagement
@Configuration
public class SpringConfig {
}
